package com.zzh.service;

import com.baomidou.mybatisplus.extension.api.R;
import feign.Headers;
import feign.Param;
import feign.RequestLine;

/**
 * @ClassName RemoteService
 * @date 2021/4/7 17:06
 * @Version 1.0
 * @Description //feginDemo
 * @USER root
 */
public interface RemoteService {

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestLine("GET /order/findOrderByUserId/{userId}")
    public R findOrderByUserId(@Param("userId") Integer userId);

}
